package q.test0421library.Service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import q.test0421library.Mapper.UserMapper;
import q.test0421library.Moudle.UserInfo;

@Service
public class UserService {
    @Autowired
    private UserMapper mapper;

    public UserInfo queryuserByName(String name){
        return mapper.queryuserByName(name);
    }
}
